package com.syscom.server.qd.dao;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.syscom.safe.wac.exception.WacServiceException;
import com.syscom.safe.wac.txbean.TxContext;
import com.syscom.server.cache.safeCache.vo.RuleQtaHandleCacheVo;

public interface QuotaDao {
	
	RuleQtaHandleCacheVo[] queryGlobalQuota(TxContext ctx) throws WacServiceException, SQLException;

	RuleQtaHandleCacheVo[] queryZoomQuota(TxContext ctx) throws WacServiceException, SQLException;
	
	Map<Integer, Integer> queryQuotaUnit(TxContext ctx) throws WacServiceException, SQLException;
	
	Integer[] queryDispatchRules(TxContext ctx) throws WacServiceException, SQLException;
	
	List<Integer> queryRuleIds(TxContext ctx, boolean bIsLockProd) throws WacServiceException, SQLException;
	
	String[] queryAllProdId(TxContext ctx) throws WacServiceException, SQLException;
}
